package com.open.capacity.common.model;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 评分类型实体
 * @author liutao
 * @date 2021-02-01 14:36
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MarkType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评分类型Id,主键，自增
     */
    private Integer matpid;
    /**
     * 评分类型名称
     */
    private String maname;
    /**
     * 评分类型描述
     */
    private String mainfo;
    /**
     * 数据状态 1:正常 2:逻辑删除
     */
    @TableLogic(value = "1",delval = "2")
    private Integer status;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Aisa/Shanghai")
    private Date cretim;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Aisa/Shanghai")
    private Date updtim;
}
